package com.dadaguai.controller;

import com.dadaguai.common.R;
import com.dadaguai.dto.SystemDto.SystemSettingDto;
import com.dadaguai.utils.SysSettingUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SysSettingController {
    @GetMapping("/sysSetting")
    public R getSysSetting(){
        SystemSettingDto sysSettings = SysSettingUtils.getSysSettings();
        return R.success(sysSettings);
    }
}
